package com.jsbj.user.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 人员与组关联关系表
 * </p>
 *
 * @author jsbj
 * @since 2023-02-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SysUserGroup对象", description="人员与组关联关系表")
public class SysUserGroup implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value = "群组id")
    private String groupId;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "是否有效，0 – 有效，1 – 无效")
    private Integer disabled;

    @ApiModelProperty(value = "创建者")
    private String createId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新者")
    private String updateId;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "备注")
    private String remark;


}
